package com.sky.loveshop.service;

import com.github.pagehelper.PageInfo;
import com.sky.loveshop.entity.Shop;
import com.sky.loveshop.entity.qo.ShopQO;

import java.util.List;

/**
 * @author xcy
 * @version V1.0
 * @description
 * @date 2024/8/18 0:05
 */
public interface ShopService {

    List<Shop> listShop(ShopQO shopQO);

    PageInfo<Shop> listShopPages(ShopQO shop);

    Shop getShopById(Integer id);

    Shop getShopByStoreId(Integer storeId);

    List<Shop> getShopsByIds(List<Integer> ids);

    Integer addShop(Shop product);

    Integer delShopById(Integer id);

    Integer updateShopById(Shop product);

    List<Shop> getAllShops();
}
